{t}Documents per page{/t} : 
<select name="nbDoc" style="width:50px;">
{section name=nbDocCount start=5 loop=31 step=5}
	{assign var="selected" value=""}
	{if $nbDoc == $smarty.section.nbDocCount.index}
		{assign var="selected" value="selected"}
	{/if}
	<option value="{$smarty.section.nbDocCount.index}" {$selected}>{$smarty.section.nbDocCount.index}</option>
{/section}
</select>
{if $nbPageTot > 1}
|
<a id="leftArrow" href=""></a>
<select name="nbPage" style="width:50px;">
{section name=nbPage start=1 loop=$nbPageTot+1 step=1}
	{assign var="selected" value=""}
	{if $numPage == $smarty.section.nbPage.index}
		{assign var="selected" value="selected"}
	{/if}
	<option value="{$smarty.section.nbPage.index}" {$selected}>{$smarty.section.nbPage.index}</option>
{/section}
</select>
 / <span>{$nbPageTot}</span>
<a id="rightArrow" href=""></a>
{/if}
|
{t 1=$nbDocTot}%s document(s) in this folder{/t}
{literal}
<script language="type/javascript">
    numPage = {/literal}{$numPage}{literal};
    nbDoc = {/literal}{$nbDoc}{literal};
    nbPageTot = {/literal}{$nbPageTot}{literal}

    $(document).ready(function(){
        pagination();
    });
</script>
{/literal}